package com.xiaoma.chat.resource;

public enum GroupType {

    T1(1),T2(2),T3(3);
    
    private Integer type;
    
    private GroupType(Integer type) {
        this.type = type;
    }
    
    public Integer type() {
        return this.type;
    }
    
    public static boolean isExist(int type) {
        return T1.type == type || T2.type == type || T3.type == type;
    }
}
